/**
 * 
 */
package org.javahispano.javacup.tacticas_aceptadas.Pescaditos.com.chidotronics.javacup;

import java.awt.Color;

import org.javahispano.javacup.modelo.EstiloUniforme;
import org.javahispano.javacup.modelo.JugadorDetalle;
import org.javahispano.javacup.modelo.TacticaDetalle;

/**
 * @author Carlos Alberto
 *
 */
class TacticaDetalleImpl implements TacticaDetalle {

	private JugadorDetalle[] jugadores;

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorCalcetas()
	 */
	public Color getColorCalcetas() {
		return new Color(215, 159, 73);
	}
	
	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorCalcetas2()
	 */
	public Color getColorCalcetas2() {
		return new Color(125, 123, 81);
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorCamiseta()
	 */
	public Color getColorCamiseta() {
		 return new Color(153, 153, 255);
	}
	
	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorCamiseta2()
	 */
	public Color getColorCamiseta2() {
		return new Color(0, 110, 40);
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorFranja()
	 */
	public Color getColorFranja() {
		return new Color(215, 159, 73);
	}
	
	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorFranja2()
	 */
	public Color getColorFranja2() {
		return new Color(200, 200, 150);
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorPantalon()
	 */
	public Color getColorPantalon() {
		 return new Color(51, 0, 51);
	}
	
	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorPantalon2()
	 */
	public Color getColorPantalon2() {
		return new Color(20, 15, 60);
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorPortero()
	 */
	public Color getColorPortero() {
		return new Color(255, 0, 0 );
	}
	
	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getColorPortero2()
	 */
	public Color getColorPortero2() {
		return new Color(0, 255, 0 );
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getEntrenador()
	 */
	public String getEntrenador() {
		return "Carlos Alberto Espinosa Ramirez";
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getEstilo()
	 */
	public EstiloUniforme getEstilo() {
		return EstiloUniforme.FRANJA_DIAGONAL;
	}
	
	public EstiloUniforme getEstilo2() {
		return EstiloUniforme.FRANJA_DIAGONAL;
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getJugadores()
	 */
	public JugadorDetalle[] getJugadores() {
		if (jugadores == null) {
			jugadores = new JugadorDetalle[]{
	                new PlayerDetail("Geronimo", 1, new Color(102,102,102), new Color(102,255,102),1.0d,1.0d,1.0d, true),
	                new PlayerDetail("Hidroponfilo", 2, new Color(204,0,255), new Color(255,255,51),1.0d,0.5d,0.4d, false),
	                new PlayerDetail("Vicente", 3, new Color(255,200,150), new Color(51,102,255),1.0d,0.5d,0.4d, false),
	                new PlayerDetail("Pedro", 4, new Color(255,153,150), new Color(102,0,204),1.0d,0.5d,0.4d, false),
	                new PlayerDetail("Valenton", 5, new Color(255,200,150), new Color(0,102,204),1.0d,0.5d,0.4d, false),
	                
	                new PlayerDetail("Matias", 6, new Color(255,200,150), new Color(255,51,51),1.0d,0.75d,0.65d, false),
	                new PlayerDetail("Jelipe", 7, new Color(255,255,0), new Color(255,255,204),1.0d,1.0d,0.8d, false),
	                new PlayerDetail("Homero", 8, new Color(0,204,204), new Color(255,204,0),1.0d,0.75d,0.65d, false),
	                new PlayerDetail("Pancracio", 9, new Color(255,51,204), new Color(255,102,204),1.0d,0.75d,0.65d, false),
	                new PlayerDetail("Hiro", 10, new Color(255,102,255), new Color(0,102,102),1.0d,1.0d,1.0d, false),
	                new PlayerDetail("Astroberto", 11, new Color(255,200,150), new Color(50,0,0),1.0d,0.75d,0.65d, false)
            };
		}
		return jugadores;
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getNombre()
	 */
	public String getNombre() {
		return "Pescaditos";
	}

	/* (non-Javadoc)
	 * @see org.javahispano.javacup.modelo.TacticaDetalle#getPais()
	 */
	public String getPais() {
		return "Mexico";
	}













}
